FROM golang:latest

ENV GOPROXY https://goproxy.cn
MAINTAINER gxy "1635594911@qq.com"

WORKDIR $GOPATH/src/gotest
ADD . $GOPATH/src/gotest
RUN go build .
EXPOSE 8080

ENTRYPOINT ["./gotest"]